package com.runnirr.doodles.Helpers;

import android.os.Build;

public class Utils {

	
	
	public static boolean isApi11Plus(){
		return Build.VERSION_CODES.HONEYCOMB > Build.VERSION_CODES.BASE &&
				Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB;
	}
	/**
	 * Get month name in (English)
	 * @param m (1-12)
	 * @return January | February | ..... | December
	 */
	public static String getMonthNameFromInt(int m){
		switch (m){
		case 1:
			return "January";
		case 2:
			return "February";
		case 3:
			return "March";
		case 4:
			return "April";
		case 5:
			return "May";
		case 6:
			return "June";
		case 7:
			return "July";
		case 8:
			return "August";
		case 9:
			return "September";
		case 10:
			return "October";
		case 11:
			return "November";
		case 12:
			return "December";
		default:
			return "January";
		}
	}
}
